home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.1 KB | 28 lines | [TEXT/GEOL] |
- Item 0810103 18-May-90 17:50PDT
-
- From: D4682 Marx, Peter,PRT
-
- To: D6020 Info Research, John MacVeigh,PRT
- MACAPP.TECH$ MacApp Technical
-
- Sub: Re: VM versus the Handles
-
- John -
-
- I agree - there isn't much point in marking handles/resources as purgeable if
- they're in a page swap file. However, the VM/Memory Mgr may be intelligent
- enough to keep track of purgeable handles. I doubt it, though. Remember that
- the page swap files tend to have just that - pages, not handles. In other
- words, Handles may be broken into disk-based and real memory-based pieces.
-
- As I haven't the time to wait for good VM to come (or for it to work), I have
- simply implemented my own handle-swapping code that reconstructs purgeable
- handles (in this case, images or pieces of images.) It's in C++ and in Think C
- 4.0 and it works pretty well. When faced with VM, though, it suffers.
-
- For these reasons, it is possible to make memory non-swappable. See Inside
- Macintosh VI for more information.
-
- Peter Marx
-
-